package top.wettis.chat.pojo.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wettis
 * @since 2023-03-28
 */
@Getter
@Setter
@TableName("questiion")

public class Questiion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "question_id", type = IdType.AUTO)
    private Integer questionId;

    @TableField("question")
    private String question;

    @TableField("answer")
    private String answer;

    @TableField("tag")
    private String tag;
}
